package com.kyub.spring.gears.test.crud;

import com.kyub.spring.gears.services.DaoService;

import java.util.List;
import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: sreghenzi
 * Date: 20-ago-2009
 * Time: 17.35.50
 * To change this template use File | Settings | File Templates.
 */
public class MockDaoService implements DaoService{
    @Override
    public List list() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public Object load(Serializable id) {
        return new MockPojo(String.valueOf(id));
    }

    @Override
    public void save(Object command) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public void delete(Object load) {
        //To change body of implemented methods use File | Settings | File Templates.
    }
}
